package javabase.schoolwork.day6_14;

import java.io.Serializable;

/**
 * @author fance
 * @date 2018/6/14 21:47
 */
public class Person implements Serializable {

    private String name;
    private int age;
    private transient String screte;

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", screte='" + screte + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getScrete() {
        return screte;
    }

    public void setScrete(String screte) {
        this.screte = screte;
    }

    public Person(String name, int age, String screte) {
        this.name = name;
        this.age = age;
        this.screte = screte;
    }
}
